//
//  DoubanSender.m
//  NetImager
//
//  Created by li hongliang on 10-9-6.
//  Copyright 2010 sweet-home. All rights reserved.
//

#import "DoubanSender.h"


@implementation DoubanSender

- (BOOL)picSend:(UIImage *)pic
{
	NSLog(@"Send picture to douban server.");
	postController = [[[PostController alloc] init] autorelease];

	[postController sendAction:self.delegate
					  userName:self.senderSetting.userName
					  passWord:self.senderSetting.passWord
					   postURL:self.senderSetting.uploadURL 
					 imagePost:pic];
	return YES;
}

- (void) dealloc
{
	[super dealloc];
}

@end
